nervous wreck

Translations
нервный срыв
He was a nervous wreck before the exam.
Он был на нервном срыве перед экзаменом.
Definitions
A person who is extremely anxious, agitated, or stressed, often to the point of being unable to function normally.